package cn.kgc.dto;

import java.io.Serializable;

import cn.kgc.entity.SmsSeckillSession;
import cn.kgc.entity.SmsSeckillSkuRelation;
import lombok.*;

import java.util.ArrayList;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import com.baomidou.mybatisplus.annotation.Version;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.math.BigDecimal;
import java.util.List;

/**
 * (SmsSeckillSession)表实体类
 *
 * @author makejava
 * @since 2023-01-07 09:39:35
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel
@SuppressWarnings("serial")
public class SmsSeckillSessionAddDTO implements Serializable {


    @ApiModelProperty(name = "name", value = "场次名称", dataType = "java.lang.String")
    private String name;    //场次名称
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "startTime", value = "每日开始时间", dataType = "java.util.Date")
    private Date startTime;   //每日开始时间

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "endTime", value = "每日结束时间", dataType = "java.util.Date")
    private Date endTime;   //每日结束时间

//
//    @ApiModelProperty(name = "status", value = "启用状态:0未启用 1启用", dataType = "java.lang.Short")
//    private Short status;    //启用状态

    //场次对应的商品信息
    private List<SmsSeckillSkuRelationAddDTO>smsSeckillSkuRelationList=new ArrayList<>();




}
